package com.hjd.shop.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @author 胡江迪
 * Date: 2020/10/11 0011
 * Time: 20:28
 * Description:
 */
@Data
@Accessors(chain = true)
public class BaseEntity implements Serializable {
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;
    private Date createTime;
    private String createUser;
    private Date modifyTime;
    private String modifyUser;
}
